package com.gem.springbootdemo.service;

import com.gem.springbootdemo.entity.Goods;
import com.gem.springbootdemo.entity.User;

import java.io.IOException;
import java.util.List;

public interface UserService  {
   List<User> getAllUser() throws IOException;
   User Login(String username,String password);
   User getUserByUsername(String username);
   boolean register(User user);


}
